home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 012 / quickies.arc / SCR.DOC < prev    next >
Text File  |  1987-06-11  |  2KB  |  72 lines

  1.  
  2.  
  3. The .SCR files are scripts to DEBUG which create .COM files to accomplish
  4. various things.
  5.  
  6. To create the .COM files,
  7.  
  8.              DEBUG  < file.SCR
  9.  
  10.  
  11. **** ASK *****
  12.  
  13. This program will echo whatever text follows the call, to the screen.  It
  14. then waits for the user to press a key.  It converts the character pressed
  15. to upper case and echoes it to the screen.  If the user presses Y,y,N,n ASK
  16. will echo Yes or No to the screen.  In any case (no pun), the ASCII code
  17. for the upper case character is returned in ERRORLEVEL to be tested by
  18.  
  19.        IF ERRORLEVEL nn  stmt
  20.  
  21.  
  22.   Example:
  23.  
  24.        :askloop
  25.        ASK Do you wish to continue ? Y/N
  26.        IF ERRORLEVEL 89 goto :docont
  27.        IF ERRORLEVEL 78 goto :quit
  28.        ECHO Please answer Y or N
  29.        goto :askloop
  30.  
  31. *** EPLQ ***
  32.  
  33. This program sends control codes to an Epson Printer to:
  34.  
  35.             Reset printer
  36.             Set page length to 66 lines/page
  37.             Set skip-over-perferation to 6 lines
  38.             Set double-strike mode
  39.  
  40.  
  41. *** EPLQC ***
  42.  
  43. This program sends control codes to an Epson Printer to:
  44.  
  45.             Reset printer
  46.             Set page length to 66 lines/page
  47.             Set skip-over-perferation to 6 lines
  48.             Set condensed print mode
  49.  
  50.  
  51. *** EPRESET ***
  52.  
  53. Resets Epson Printer to boot-up state.
  54.  
  55.  
  56. *** FF ***
  57.  
  58. Sends a form-feed to the printer.
  59.  
  60.  
  61. *** VIDRESET ***
  62.  
  63. Resets video mode and colors.  Good for use after programs which do not
  64. terminate in a friendly manner, and leave video in a strange state.
  65.  
  66. *** WARMBOOT ***
  67. *** COLDBOOT ***
  68.  
  69. These reboot the computer as their names suggest.  On the SPERRY PC, there
  70. doesn't seem to be any difference between a warm and cold boot.
  71.  
  72.